package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 出库表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "outbound")
public class Outbound implements Serializable {
    /**
     * 出库id
     */
    @TableId(value = "outbound_no", type = IdType.INPUT)
    private Integer outboundNo;

    /**
     * 出库单编号
     */
    @TableField(value = "outbound_code")
    private String outboundCode;

    /**
     * 出库单单据日期
     */
    @TableField(value = "outbound_document_time")
    private Date outboundDocumentTime;

    /**
     * 出库类型
     */
    @TableField(value = "outbound_type")
    private Integer outboundType;

    /**
     * 出库时间
     */
    @TableField(value = "outbound_outtime")
    private Date outboundOuttime;

    /**
     * 交货时间
     */
    @TableField(value = "outbound_shipping_time")
    private Date outboundShippingTime;

    /**
     * 出库备注
     */
    @TableField(value = "outbound_notes")
    private String outboundNotes;

    /**
     * 产品出库联表id
     */
    @TableField(value = "goods_outbound_id")
    private Integer goodsOutboundId;

    /**
     * 附件id
     */
    @TableField(value = "file_id")
    private Integer fileId;

    /**
     * 工单编号id
     */
    @TableField(value = "workorder_id")
    private Integer workorderId;

    /**
     * 出库状态
     */
    @TableField(value = "outbound_start")
    private String outboundStart;

    /**
     * 审核状态
     */
    @TableField(value = "audit_start")
    private Integer auditStart;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    /**
     * 生产负责人id
     */
    @TableField(value = "owner_usertwo_id")
    private Integer ownerUsertwoId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}